package net.mysoft.framework.util;

import java.util.Map;

import net.mysoft.budgetsoft.system.domain.PageData;

import org.apache.commons.lang3.StringUtils;

public class Tool {
	
	public static int toInt(Object obj) {
		return obj==null||StringUtils.isBlank(obj+"")?0:Integer.parseInt(obj+"");
	}
	
	public static String toString(Object obj) {
		return obj==null?"":obj.toString();
	}
	
}


